/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package supermarket;

/**
 *
 * @author dimi
 */
public class CustomerGUI extends javax.swing.JFrame {

    /**
     * Creates new form CustomerGUI
     */
    public CustomerGUI() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        Panel_CustomerGUI_Welcome = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        Panel_CustomerGUI_Options = new javax.swing.JPanel();
        Button_CustomerGUI_Purchases = new javax.swing.JButton();
        Button_CustomerGUI_Profile = new javax.swing.JButton();
        Button_CustomerGUI_Exit = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);

        Panel_CustomerGUI_Welcome.setBackground(new java.awt.Color(204, 0, 204));
        Panel_CustomerGUI_Welcome.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(102, 0, 102)));
        Panel_CustomerGUI_Welcome.setToolTipText("");

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        jLabel1.setText("Καλωσήλθατε στην εφαρμογή online παραγγελιών");
        jLabel1.setBorder(new javax.swing.border.MatteBorder(null));

        javax.swing.GroupLayout Panel_CustomerGUI_WelcomeLayout = new javax.swing.GroupLayout(Panel_CustomerGUI_Welcome);
        Panel_CustomerGUI_Welcome.setLayout(Panel_CustomerGUI_WelcomeLayout);
        Panel_CustomerGUI_WelcomeLayout.setHorizontalGroup(
            Panel_CustomerGUI_WelcomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, Panel_CustomerGUI_WelcomeLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 408, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        Panel_CustomerGUI_WelcomeLayout.setVerticalGroup(
            Panel_CustomerGUI_WelcomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(Panel_CustomerGUI_WelcomeLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addContainerGap(24, Short.MAX_VALUE))
        );

        Panel_CustomerGUI_Options.setBackground(new java.awt.Color(204, 153, 255));
        Panel_CustomerGUI_Options.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Επιλογές χρήστη", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.BELOW_TOP));

        Button_CustomerGUI_Purchases.setText("ΑΓΟΡΕΣ & ΚΑΛΑΘΙ");

        Button_CustomerGUI_Profile.setText("ΔΙΑΧΕΙΡΙΣΗ ΠΡΟΦΙΛ");

        javax.swing.GroupLayout Panel_CustomerGUI_OptionsLayout = new javax.swing.GroupLayout(Panel_CustomerGUI_Options);
        Panel_CustomerGUI_Options.setLayout(Panel_CustomerGUI_OptionsLayout);
        Panel_CustomerGUI_OptionsLayout.setHorizontalGroup(
            Panel_CustomerGUI_OptionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, Panel_CustomerGUI_OptionsLayout.createSequentialGroup()
                .addGap(53, 53, 53)
                .addComponent(Button_CustomerGUI_Purchases, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 53, Short.MAX_VALUE)
                .addComponent(Button_CustomerGUI_Profile)
                .addGap(46, 46, 46))
        );
        Panel_CustomerGUI_OptionsLayout.setVerticalGroup(
            Panel_CustomerGUI_OptionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(Panel_CustomerGUI_OptionsLayout.createSequentialGroup()
                .addGap(48, 48, 48)
                .addGroup(Panel_CustomerGUI_OptionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Button_CustomerGUI_Profile, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(Button_CustomerGUI_Purchases, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(79, Short.MAX_VALUE))
        );

        Button_CustomerGUI_Exit.setText("ΈΞΟΔΟΣ");
        Button_CustomerGUI_Exit.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                Button_CustomerGUI_ExitActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(Panel_CustomerGUI_Welcome, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(Button_CustomerGUI_Exit)
                .addGap(18, 18, 18))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(Panel_CustomerGUI_Options, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(Panel_CustomerGUI_Welcome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 210, Short.MAX_VALUE)
                .addComponent(Button_CustomerGUI_Exit)
                .addContainerGap())
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addContainerGap(54, Short.MAX_VALUE)
                    .addComponent(Panel_CustomerGUI_Options, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(49, Short.MAX_VALUE)))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void Button_CustomerGUI_ExitActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button_CustomerGUI_ExitActionPerformed
        System.out.println("Closing Customer Options Window");
        dispose();
        System.exit(0);
    }//GEN-LAST:event_Button_CustomerGUI_ExitActionPerformed

   
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton Button_CustomerGUI_Exit;
    private javax.swing.JButton Button_CustomerGUI_Profile;
    private javax.swing.JButton Button_CustomerGUI_Purchases;
    private javax.swing.JPanel Panel_CustomerGUI_Options;
    private javax.swing.JPanel Panel_CustomerGUI_Welcome;
    private javax.swing.JLabel jLabel1;
    // End of variables declaration//GEN-END:variables
}
